import Vue from  'vue'

class organization {

    state = {

        mockFns: {
            departmentBuil: () =>{}
        }
        
    }

    mutations = {

        setMockFn(state,conf){
            Object.assign(state.mockFns, conf)
        }

    }

    getters = {

        departmentFomatConf (state){

            return {

                total: {
                    name: '总公司'
                },
                build: state.mockFns.departmentBuil

            }

        }  
    }

    actions = {}
    
}

export default organization